﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CategoryAdd.ascx.cs" Inherits="controls_admin_CategoryAdd" %>
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5>
            Thêm danh mục mới
        </h5>
    </div>
    <!-- end box / title -->
    <div id="divMessage" runat="server" />
    <div class="form">
        <div class="fields">
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Danh mục cha:</label>
                </div>
                <div class="input">
                    <asp:DropDownList ID="ddlParent" runat="server" AppendDataBoundItems="true">
                        <asp:ListItem Value="0" Text="Danh mục mới"></asp:ListItem>
                    </asp:DropDownList>
                    <div class="note" id="NOTE_PARENT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Tên danh mục:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFullCategoryName" runat="server" CssClass="cateName medium" MaxLength="500" />
                    <div class="note" id="NOTE_TITLE" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Link to:
                    </label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtUrl" runat="server" CssClass="url medium" MaxLength="255" />
                    <div runat="server" id="NOTE_LINK" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Mô tả:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtFullCategoryDescription" runat="server" CssClass="large" MaxLength="1000" />
                    <div class="note" id="NOTE_DESCRIPT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Loại nội dung:</label>
                </div>
                <div class="input">
                    <asp:DropDownList runat="server" ID="ddlContentType" CssClass="select">
                    </asp:DropDownList>
                    <div class="note">
                    </div>
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Icon:</label>
                </div>
                <div class="input">
                    <asp:FileUpload runat="server" ID="fupIcon" CssClass="file" />
                    <div class="note">
                    </div>
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Thứ tự hiển thị:</label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtSortDisplay" runat="server" Width="50px" CssClass="number" Text="1"
                        MaxLength="5" />
                    <div class="note" id="NOTE_SORT" runat="server" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label>
                        Menu:</label>
                </div>
                <div class="input">
                    <asp:CheckBox ID="cboMenu" runat="server" />
                    <div class="note" id="NOTE_MENU" runat="server" />
                </div>
            </div>
            <div class="buttons">
                <div class="button highlight">
                    <asp:Button ID="btnSubmit" runat="server" Text="Thêm Mới" OnClick="btnSubmit_Click" />
                </div>
                <input type="reset" value="Làm Lại" />
            </div>
        </div>
    </div>
</div>
